package com.d3works.apps.sale.service.saleorder;

import com.d3works.apps.sale.db.SaleOrder;

public interface SaleOrderNotifyService {

  /**
   * 订单创建
   *
   * @param saleOrder
   * @throws Exception
   */
  void onOrderCreate(SaleOrder saleOrder) throws Exception;

  /**
   * 订单确认
   *
   * @param saleOrder
   * @throws Exception
   */
  void onOrderUpdate(SaleOrder saleOrder) throws Exception;
}
